package com.ys.dubbo.cloud.gateway.domain;

import com.ys.dubbo.cloud.gateway.bean.GatewayFilterDefinition;
import com.ys.dubbo.cloud.gateway.bean.GatewayPredicateDefinition;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>@description: </p>
 *
 * @author yangshuang
 * @version 1.0
 * @date 2019/7/14 15:31
 */
@Getter
@Setter
public class GatewayRoute {
    private String                           routeId;
    private String                           uri;
    private Integer                          order;
    private List<GatewayPredicateDefinition> predicates;
    private List<GatewayFilterDefinition>    filters;

    private Long                             id;
    private LocalDateTime                    createTime;
    private LocalDateTime updateTime;
    private EntityStatus                     status;
}
